<{include file="public/header.tpl"}>
<div id="page-wrapper">
    <{ include file="public/title.tpl" }>
    <form  method="post" action="<{$url}>/insert">
		<ul class="list-group">
			<li class="list-group-item">
				<span class="label label-info">网站名称<span class="red_font">*</span></span>
				 <input type="text" class="form-control" name="webname" maxlength="30" size="20" value="<{ $post.webname }>">
			</li>
			<li class="list-group-item">
				<span class="label label-info">地&nbsp;&nbsp;址<span class="red_font">*</span></span>
					<input type="text" class="form-control" name="url" maxlength="60" size="40" value="<{ $post.url }>"> &nbsp; 例如：http://www.lampbrother.net
			
			</li>
			<li class="list-group-item">
				<span class="label label-info">LOGO<span class="red_font">*</span></span>
				<input type="text" class="form-control" name="logo" maxlength="100" size="40" value="<{ $post.logo }>"> &nbsp; 网站LOGO图片的真实地址,会自动下载到本地。
			</li>

				
			<li class="list-group-item">
				<span class="label label-info" style="margin-top:30px">网站描述</span>
				<textarea class="form-control" name="msg" cols="50" rows="5"><{ $post.msg }></textarea>
			</li>
			<li class="list-group-item">
				<span class="label label-info">联系人<span class="red_font">*</span></span>
				<input type="text" class="form-control" name="rname" maxlength="30" size="10" value="<{ $post.rname }>">
			</li>
			<li class="list-group-item">
				<span class="label label-info">站长Email<span class="red_font">*</span></span>
				<input type="text" class="form-control" name="email" maxlength="60" size="30" value="<{ $post.email }>">
			</li>

			<li class="list-group-item">
				<span class="label label-info">显示方式</span>
				
				<input type="radio" name="list" <{if $post.list eq "0" or $post.list eq null}> checked <{/if}> value="0"> 网站名称
				<input type="radio" name="list"  <{if $post.list eq "1"}> checked <{/if}> value="1"> LOGO图片
			</li>
			<li class="list-group-item">
				<span class="label label-info">是否显示</span>
				
				<input type="radio" name="audit" <{if $post.audit eq "0" or $post.audit eq null}> checked <{/if}> value="0"> 不显示
				<input type="radio" name="audit"  <{if $post.audit eq "1"}> checked <{/if}> value="1"> 显示
			</li>
			<li class="list-group-item">
			    <button type="submit" class="btn btn-primary">添 加</button>
			    &nbsp;&nbsp;
			    <button type="reset" class="btn btn-primary">重 置</button>
			</li>
		</ul>	
    </form>	
</div>
<{include file="public/footer.tpl"}>	


